package com.qf.pojo;

import org.springframework.stereotype.Component;

@Component  //将当前类交给Spring管理
public class TbStudent {
  private long sid;
  private String sname;

  public long getSid() {
    return sid;
  }

  public void setSid(long sid) {
    this.sid = sid;
  }

  public String getSname() {
    return sname;
  }

  public void setSname(String sname) {
    this.sname = sname;
  }

}
